package com.example.springboot_jpa.service;


import com.example.springboot_jpa.entity.Employee;

import java.util.List;
import java.util.Optional;

public interface EmployeeService {
    public List<Employee> getAllEmployees();
    public void saveEmployee(Employee employee);
    public Employee getEmployee(int id);
    public void deleteEmployee(int id);
    public List <Employee> getEmpBySalary(int salary);
}
